/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.home.dependencies.question;



import com.yiqi.liebang.feature.home.contract.QuestionContract;
import com.yiqi.liebang.feature.home.presenter.QuestionPresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:27
 */
@Module
public class QuestionPresenterModule {
    private final QuestionContract.View mView;

    public QuestionPresenterModule(QuestionContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public QuestionContract.Presenter provideQuestionPresenter(){
        return  new QuestionPresenter(mView);
    }

}
